body{
  padding: 0;
  margin: 0;
}
.container{
  min-height: 300px;
  max-width: 200px;
  border: 1px solid red;
}

.container>nav>a{
  text-decoration: none;
  line-height: 30px;
  border-radius: 10px 10px 0 0;
  background: #ffaaee;
  padding: 5px;
}

nav>a.clicked{
  background: #ff5599;
}
.container>div{
  display: none;
}
div.clicked{
  display: block;
}
